import Vue from 'vue'
import App from './App.vue'
import 'vue/dist/vue.js'
import MuseUI from 'muse-ui'
import 'muse-ui/dist/muse-ui.css'
Vue.use(MuseUI)

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);

import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'

Vue.use(MintUI)

import { Picker } from 'mint-ui';
Vue.component(Picker.name, Picker);
//import Mock from './mock'
//Mock.bootstrap();

import VueRouter from 'vue-router'
Vue.use(VueRouter)

import routes from "./router.js"
import yuan from "./yuan.js"
import zy from "./zy.js"


import { MessageBox } from 'mint-ui';

import $ from "jquery"

import { Lazyload } from 'mint-ui';
Vue.use(Lazyload);

import { Button } from 'mint-ui';
Vue.component(Button.name, Button); 

import { Popup } from 'mint-ui';
Vue.component(Popup.name, Popup);

import { InfiniteScroll } from 'mint-ui';
Vue.use(InfiniteScroll);

import { Spinner } from 'mint-ui';
Vue.component(Spinner.name, Spinner);

import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
Vue.use(VideoPlayer);

import { Swipe, SwipeItem } from 'mint-ui';
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);


import 'babel-polyfill'

import overall from './overall'
var router = new VueRouter({
 routes,
 yuan,
 $: "jquery",
 zy,
 overall
})


import axios from "axios"
Vue.prototype.$http=axios


new Vue({
  el: '#app',
 router:router,
  render: h => h(App)
})

